﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Mangox.Model.Common
{
    public class EnumComm
    {

        public enum SourceType
        {
            applet = 1,

            uwp = 2,

            web = 3,

            /// <summary>
            /// 区块链芒果币小程序
            /// </summary>
            mangox = 4,
        }

        /// <summary>
        /// 文章类型
        /// 财经、2证券、3娱乐、4科技、5国际、6军事、7汽车、金融、社会等
        /// </summary>
        public enum ArticleType
        {
            [Description("推荐")]
            tag = 1,

            [Description("证券")]
            zhenquan = 2,

            [Description("娱乐")]
            yule = 3,

            [Description("科技")]
            keji = 4,

            [Description("国际")]
            guoji = 5,

            [Description("军事")]
            junshi = 6,

            [Description("汽车")]
            qiche = 7,
        }


        /// <summary>
        /// 新闻文章列表 查询类型
        /// </summary>
        public enum SearchType
        {
            IndexList = 0,
            SearchList = 1
        }

    }


    /// <summary>
    /// MGX来源平台
    /// </summary>
    public enum Source_MGX
    {
        weizhi = 0,

        /// <summary>
        /// 小程序企业版1
        /// </summary>
        applet = 1,

        andorid = 2,

        ios = 3,

        web = 4,

        pc = 5,

        mac = 6,

        linux = 7,

        /// <summary>
        /// 小程序个人版
        /// </summary>
        mgxbit = 8,

        /// <summary>
        /// 小程序企业版2
        /// </summary>
        szsllkj = 9,

        /// <summary>
        /// 官网
        /// </summary>
        guanwang = 10,

        /// <summary>
        /// 官网 水龙头活动
        /// </summary>
        shuilongtou = 11,
    }

    /// <summary>
    /// MGX,用户状态
    /// </summary>
    public enum UserStatus
    {
        /// <summary>
        /// 删除
        /// </summary>
        Delete = -1,

        /// <summary>
        /// 禁用
        /// </summary>
        Disable = 0,

        /// <summary>
        /// 启用
        /// </summary>
        Enabled = 1,
    }

    /// <summary>
    /// 股票交易市场类型
    /// </summary>
    public enum BazaarType
    {
        [Description("保留,未知")]
        WZ = 0,

        [Description("上证")]
        SH = 1,

        [Description("深证")]
        SZ = 2,

        [Description("ETF")]
        ETF = 3,

        [Description("港股")]
        HK = 4,

        [Description("美股")]
        USA = 5,
    }

    public enum DictionaryType
    {
        [Description("保留,未知")]
        WZ = 0,

        /// <summary>
        /// 统考
        /// </summary>
        [Description("统考")]
        TK = 1,

        /// <summary>
        /// 统考高频词汇
        /// </summary>
        [Description("统考高频")]
        TKGP = 2,

        /// <summary>
        /// 计算机英语
        /// </summary>
        [Description("计算机英语")]
        JSJ = 3,

        /// <summary>
        /// 四级
        /// </summary>
        [Description("四级")]
        SJ = 4,

        /// <summary>
        /// 六级
        /// </summary>
        [Description("六级")]
        LJ = 5,

        /// <summary>
        /// 新概念英语第一册
        /// </summary>
        [Description("新概念英语第一册")]
        XGL1 = 6,

        /// <summary>
        /// 新概念英语第一册
        /// </summary>
        [Description("新概念英语第二册")]
        XGL2 = 7,

        /// <summary>
        /// 新概念英语第一册
        /// </summary>
        [Description("新概念英语第三册")]
        XGL3 = 8,

        /// <summary>
        /// 新概念英语第一册
        /// </summary>
        [Description("新概念英语第四册")]
        XGL4 = 9,
    }

    /// <summary>
    /// 导入文件名称
    /// </summary>
    public enum ImportDocument
    {
        [Description("保留,未知")]
        WZ = 0,

        /// <summary>
        /// 统考高频词汇
        /// </summary>
        [Description("统考高频词汇")]
        tkgpch = 1,

        /// <summary>
        /// 大学英语四级词汇(无汉语翻译完美打印版)
        /// </summary>
        [Description("大学英语四级词汇(无汉语翻译完美打印版)")]
        dxyysjwmdy = 2,
    }

    /// <summary>
    /// 词典Api类型
    /// </summary>
    public enum DictionaryApiType
    {
        [Description("保留,未知")]
        WZ = 0,

        /// <summary>
        /// 网易有道词典
        /// </summary>
        [Description("网易有道词典")]
        YouDao = 1,

        /// <summary>
        /// 金山词霸
        /// </summary>
        [Description("金山词霸")]
        ICIBA = 2,

        /// <summary>
        /// 百度翻译
        /// </summary>
        [Description("百度翻译")]
        BDFY = 3,
    }

    /// <summary>
    /// Stock页面
    /// </summary>
    public enum StockPage
    {
        [Description("保留,未知")]
        WZ = 0,
        
        [Description("StockInfo")]
        StockInfo = 1,

        [Description("Market")]
        Market = 2,

        [Description("SiteMap")]
        SiteMap = 3,

        [Description("StockDetail")]
        StockDetail = 4,

        [Description("About")]
        About = 5,

        [Description("FeedBack")]
        FeedBack = 6,

        [Description("Helper")]
        Helper = 7,

        [Description("SelfStock")]
        SelfStock = 8,

        [Description("Settings")]
        Settings = 9, 
        
    }

    /// <summary>
    /// 股市行情交易状态
    /// </summary>
    public enum MksState
    {
        [Description("保留,未知")]
        WZ = 0,

        [Description("已休市")]
        已休市 = 1,

        [Description("未开盘")]
        未开盘 = 2,

        [Description("集合竞价")]
        集合竞价 = 3,

        [Description("已收盘")]
        已收盘 = 4,

        [Description("交易中")]
        交易中 = 5,
    }

    /// <summary>
    /// 股市行情交易状态
    /// </summary>
    public enum LocSaveData
    {
        [Description("保留,未知")]
        WZ = 0,

        [Description("自选股本地存储")]
        selfList = 1,
    }


    /// <summary>
    /// AppType 用户表应用程序类型
    /// </summary>
    public enum AppType
    {
        [Description("保留,未知")]
        WZ = 0,

        [Description("mgx小程序钱包")]
        Mango = 1,

        [Description("官网水龙头活动")]
        ShuiLongTou = 2,
    }

}
